Beginning BBC micro:bit: A Practical Introduction to micro:bit Development by Pradeeka Seneviratne
Author:Pradeeka Seneviratne
Language: eng
Format: epub
Publisher: Apress
Published: 2018-09-25T16:00:00+00:00
Listing 5-7 shows the MicroPython code that can be used to detect the “face up” gesture . If it detects the “face up” gesture, a HAPPY image will display on the LED screen; otherwise, it will display an ANGRY image. The accelerometer.current_gesture() function returns the name of the gesture that you performed. Then it compares the returned gesture name with the “face up” string. If both are equal, a HAPPY face will display on the LED screen; otherwise, the screen will display a SAD image.
from microbit import *
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Linux Device Driver Development Cookbook by Rodolfo Giometti(3951)
Embedded Programming with Modern C++ Cookbook by Igor Viarheichyk(3710)
Implementing Cellular IoT Solutions for Digital Transformation by Dennis McCain(3638)
Embedded Linux Development Using Yocto Project - Third Edition by Otavio Salvador & Daiane Angolini(3475)
TinyML Cookbook by Gian Marco Iodice(3397)
Simplifying 3D Printing with OpenSCAD by Colin Dow(2850)
TinyML Cookbook by Gian Marco Iodice & Ronan Naughton(2615)
Fusion 360 for Makers by Lydia Sloan Cline(2227)
Networking A Beginner's Guide by Bruce Hallberg(2221)
Hands-On Linux for Architects by Denis Salamanca(2062)
But How Do It Know? by J. Clark Scott(2039)
Computers For Seniors For Dummies by Nancy C. Muir(2020)
Raspberry Pi and MQTT Essentials by Dhairya Parikh(1972)
Arduino Project Handbook, Volume 2: 25 Simple Electronics Projects for Beginners by Geddes Mark(1958)
9781803246888-ENHANCING DEEP LEARNING WITH BAYESIAN INFERENCE by Unknown(1914)
Hack and HHVM by Owen Yamauchi(1893)
31 Days Before Your CompTIA A+ Exams (Shanette Luellen's Library) by Benjamin Patrick Conry(1872)
MicroPython Projects by Jacob Beningo(1753)
Hands-On Internet of Things with MQTT by Tim Pulver(1723)
